package com.microstation.exception;

import lombok.Data;

import java.io.Serializable;

/**
 * Created by Administrator on 2017/4/15.
 */
@Data
public class ReturnException extends RuntimeException implements Serializable{
    protected String errType;

    public ReturnException(String errType, String message) {
        super(message);
        this.errType = errType;
    }

    public ReturnException(String errType, String message, Throwable cause) {
        super(message, cause);
        this.errType = errType;
    }
}
